﻿namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 成品过站BOM
    /// </summary>
    public class VProductSiteBom : BaseVModel
    {
        private string _orderNo = string.Empty;
        private string _workOrderNo = string.Empty;
        private string _bomCategoryCode = string.Empty;
        private string _bomCategoryName = string.Empty;


        ///<Summary>
        /// 订单号
        ///</Summary>
        public string OrderNo
        {
            get { return string.IsNullOrWhiteSpace(_orderNo) ? string.Empty : _orderNo; }
            set { _orderNo = value; }
        }

        ///<Summary>
        /// 工单号
        ///</Summary>
        public string WorkOrderNo
        {
            get { return string.IsNullOrWhiteSpace(_workOrderNo) ? string.Empty : _workOrderNo; }
            set { _workOrderNo = value; }
        }

        ///<Summary>
        /// 站点类型
        ///</Summary>
        public Enum.SiteType SiteType { get; set; }

        ///<Summary>
        /// BOM分类名称
        ///</Summary>
        public string BomCategoryCode
        {
            get { return string.IsNullOrWhiteSpace(_bomCategoryCode) ? string.Empty : _bomCategoryCode; }
            set { _bomCategoryCode = value; }
        }

        ///<Summary>
        /// BOM分类名称
        ///</Summary>
        public string BomCategoryName
        {
            get { return string.IsNullOrWhiteSpace(_bomCategoryName) ? string.Empty : _bomCategoryName; }
            set { _bomCategoryName = value; }
        }
    }
}
